<template>
	<div class='main_div'>
		<button @click="renFun">让我看看</button>
		<PersonVue ref="ren"></PersonVue>
	</div>
</template>
<script setup>
import PersonVue from '@/components/Person.vue'
import {ref} from 'vue'

let ren = ref()

function renFun(){
	console.log(ren.value);
}

</script>
<style>
	.main_div{
		background-color: dodgerblue;

	}
</style>